package com.koron.css2.newProjectCenter.bean;

import com.koron.css2.baseConfig.bean.BaseBean;

import java.util.Date;

/**
 * 流程实际节点时间
 * @author admin
 * @since 2021-06-06
 * @version 2.1
 *
 */
public class ProcessNodeTimeBean extends BaseBean{
	
	public static final int OUT_TIME_FLAG = 0;
	
	public static final int OUT_TIME_FLAG_NOT = 1;
	
	/**节点ID*/
	private	String	nodeCode;
	/**流程实例ID*/
	private	String	processInstanceId;
	/**流程开始时间*/
	private	Date	beginTime;
	/**流程结束时间*/
	private	Date	endTime;
	/**节点超期时间(小时)*/
	private	Integer	timeOut;
	/**任务的执行ID*/
	private String taskId;
	/**是否超期,0:不超，1:超期*/
	private	Integer	toFlag;
	
	public ProcessNodeTimeBean(String nodeCode, String taskId, String processInstanceId, Date beginTime, Integer timeOut) {
		this.taskId = taskId;
		this.nodeCode = nodeCode;
		this.processInstanceId = processInstanceId;
		this.beginTime = beginTime;
		this.timeOut = timeOut;
	}
	public ProcessNodeTimeBean() {
		
	}
	
	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public String getProcessInstanceId() {
		return processInstanceId;
	}
	public Date getBeginTime() {
		return beginTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public Integer getTimeOut() {
		return timeOut;
	}
	public Integer getToFlag() {
		return toFlag;
	}
	public String getNodeCode() {
		return nodeCode;
	}
	public void setNodeCode(String nodeCode) {
		this.nodeCode = nodeCode;
	}
	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}
	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public void setTimeOut(Integer timeOut) {
		this.timeOut = timeOut;
	}
	public void setToFlag(Integer toFlag) {
		this.toFlag = toFlag;
	}
}
